package com.health.db.mapper;

import java.util.List;

import com.health.db.model.RegisterOrder;
import com.health.db.model.RegisterOrderExample;

public interface RegisterOrderMapper {
   

    int deleteByPrimaryKey(Long recid);

    //在用 普通新增
    int insert(RegisterOrder record);
    
    RegisterOrder selectByPrimaryKey(Long recid);

    //在用
	int updateOrderState4Timeout(RegisterOrder record) ;
	
    int updateByPrimaryKey(RegisterOrder record);
    
    // 在用
    List<RegisterOrder> selectSimple(RegisterOrderExample example);
    //在用
    int updateOrderSimple(RegisterOrder record);
    
    //在用
    int updateOrderSelective(RegisterOrder record);
    
    //在用
    RegisterOrder   selectSimpleSingleByOrderId(Long registerid);
    //订单超时专用
    List<RegisterOrder> selectOrderState4Timeout(RegisterOrderExample example);

    List<RegisterOrder> selectSimpleByEvaluate(Long docId);
    
    List<RegisterOrder> selectSimpleWithMsg(RegisterOrderExample example);
    
    RegisterOrder   selectSimpleSingleByOrderIdForUpdate(Long registerid);
    
    List<RegisterOrder>   selectSimpleSingleByRefBillId(Long refbillid);
    
    List<RegisterOrder> selectSimpleOrderGrapPool(RegisterOrderExample example);
    //在用
    int updateOrderForQuit(RegisterOrder record);
    
    List<RegisterOrder> selectSimpleByAssis(RegisterOrderExample example);
}